//
//  XMUploadPhotoModel.h
//  XiaoMiao
//
//  Created by 23 on 2018/2/7.
//  Copyright © 2018年 smallyou. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseInfoModel.h"

@interface XMUploadPhotoModel : NSObject


#pragma mark - 必须传的共有字段
/**一级分类id*/
@property(nonatomic,copy) NSString *cateId;
/**二级分类id*/
@property(nonatomic,copy) NSString *subCateId;
/**三级分类id*/
@property(nonatomic,copy) NSString *subSubCateId;
/**模板id*/
@property(nonatomic,copy) NSString *templateId;
/**对比照片及上传照数组 -- json字符串*/
@property(nonatomic,copy) NSString *photographUserAngleJson;


#pragma mark - 已有用户上传
/**partyId*/
@property(nonatomic,copy) NSString *partyId;


#pragma mark - 新建用户并上传的字段
/** <#属性#> */
@property (nonatomic, strong) BaseInfoModel *baseInfoModel;
///**年龄*/
//@property(nonatomic,assign) NSInteger age;
///**市区*/
//@property(nonatomic,copy) NSString *city;
///**phone*/
//@property(nonatomic,copy) NSString *phone;
///**省*/
//@property(nonatomic,copy) NSString *province;
///**realName*/
//@property(nonatomic,copy) NSString *realName;
///**sex*/
//@property(nonatomic,copy) NSString *sex;

//根据分类快速创建
+ (instancetype)uploadModelWithCateId:(NSString *)cateId subCateId:(NSString *)subCateId subSubCateId:(NSString *)subSubCateId;


//新建用户
+ (instancetype)uploadModelWithCateId:(NSString *)cateId
                            subCateId:(NSString *)subCateId
                         subSubCateId:(NSString *)subSubCateId
                        baseInfoModel:(BaseInfoModel *)baseInfoModel;

// 已有客户
+ (instancetype)uploadModelWithCateId:(NSString *)cateId
                            subCateId:(NSString *)subCateId
                         subSubCateId:(NSString *)subSubCateId
                                  pId:(NSString *)pId
                        baseInfoModel:(BaseInfoModel *)baseInfoModel;



@end
